<html>
<head><meta charset="utf-8"><title>amusing &quot;bug&quot; · t-compiler/wg-nll · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122657-t-compiler/wg-nll/index.html">t-compiler/wg-nll</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122657-t-compiler/wg-nll/topic/amusing.20.22bug.22.html">amusing &quot;bug&quot;</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="136730133"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122657-t-compiler/wg-nll/topic/amusing%20%22bug%22/near/136730133" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122657-t-compiler/wg-nll/topic/amusing.20.22bug.22.html#136730133">(Oct 29 2018 at 19:44)</a>:</h4>
<p><a href="https://stackoverflow.com/q/53045978/155423" target="_blank" title="https://stackoverflow.com/q/53045978/155423">Why can the Rust compiler break borrowing rules when using Rust 1.31?</a></p>
<p>TL;DR — <em>Rust By Example</em> says "this code will produce borrow checker errors". Newcomer to Rust tries it with the newest nightly, but there are no errors. </p>
<p>Moral of the story: NLL is going to "break" a bunch of tutorials, blog posts, slides, etc.</p>



<a name="136735585"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122657-t-compiler/wg-nll/topic/amusing%20%22bug%22/near/136735585" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/122657-t-compiler/wg-nll/topic/amusing.20.22bug.22.html#136735585">(Oct 29 2018 at 21:10)</a>:</h4>
<p>shocker that</p>



<a name="136739040"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122657-t-compiler/wg-nll/topic/amusing%20%22bug%22/near/136739040" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122657-t-compiler/wg-nll/topic/amusing.20.22bug.22.html#136739040">(Oct 29 2018 at 22:03)</a>:</h4>
<p>it also "broke" a bunch of our unit tests (that we've been fixing as we go)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>